import { defineStore } from 'pinia'

export const useCounterStore = defineStore('counter', {
    state: () => ({
        users:null
    }),
    getters: {
         getUser:(state)=>{
                return state.users
         }
    },
    actions: {
         setUser(newUser:any){
                this.users=newUser;
         }
    },
  })